package com.yimu.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.yimu.common.annotation.Excel;
import com.yimu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 终端列表对象 devices
 * 
 * @author Christine
 * @date 2020-08-26
 */
public class Devices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long Id;

    /** 设备号 */
    @Excel(name = "设备号")
    private String DeviceNum;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String DeviceName;

    /** SIM卡码 */
    @Excel(name = "SIM卡码")
    private String SimCode;

    /** 货道数量 */
    @Excel(name = "货道数量")
    private Long SensorCount;

    /** 设备是否禁用 1启用 &2代理商禁用 &3 渠道商禁用 &4 超管禁用 */
    @Excel(name = "设备是否禁用 1启用 &2代理商禁用 &3 渠道商禁用 &4 超管禁用")
    private Long Disabled;

    /** 渠道商id */
    @Excel(name = "渠道商id")
    private Long DistributorId;

    /** 代理商id */
    @Excel(name = "代理商id")
    private Long AgentId;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date AddDatetime;

    /** 过期时间 */
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date OverDatetime;

    /** 服务费 */
    @Excel(name = "服务费")
    private BigDecimal AnnualFee;

    /** 设备类型(1:自助售货机，2:充电桩，3:售纸机) */
    @Excel(name = "设备类型(1:自助售货机，2:充电桩，3:售纸机)")
    private Long DeviceTypeId;

    /** 是否删除 1/2 是/否 */
    @Excel(name = "是否删除 1/2 是/否")
    private String IsDeleted;

    /** 补货员Id */
    @Excel(name = "补货员Id")
    private Long ReplenishmentClerksId;

    /** 合作伙伴Id */
    @Excel(name = "合作伙伴Id")
    private Long PartnersId;

    /** 续费时间 单位 月 */
    @Excel(name = "续费时间 单位 月")
    private Long RenewalTime;

    /** 设备是否在线 0否 1是 */
    @Excel(name = "设备是否在线 0否 1是")
    private String IsOnline;

    /** 网络是否正常 0否 1是 */
    @Excel(name = "网络是否正常 0否 1是")
    private String HeartBeatState;

    /** null */
    @Excel(name = "null", width = 30, dateFormat = "yyyy-MM-dd")
    private Date LastHeartBeat;

    /** 购物车:0购买单个/1是多个/2是全部/ */
    @Excel(name = "购物车:0购买单个/1是多个/2是全部/")
    private String ShoppingCar;

    /** 是否开启信号检测1/2 是/否 */
    @Excel(name = "是否开启信号检测1/2 是/否")
    private Integer OpenSignalMonitor;

    /** 正在处理的订单号。当服务关闭时，如果设备空闲，此处为空字符串；如果设备正在交易，此处为对应订单号。服务开启后，首次查询此处，更新设备交易状态。 */
    @Excel(name = "正在处理的订单号。当服务关闭时，如果设备空闲，此处为空字符串；如果设备正在交易，此处为对应订单号。服务开启后，首次查询此处，更新设备交易状态。")
    private String HandOrdernum;

    /** 是否交由服务代理查询交易状态 0否 1是 */
    @Excel(name = "是否交由服务代理查询交易状态 0否 1是")
    private String AgentQueryTrade;

    /** 是否开启自检 */
    @Excel(name = "是否开启自检")
    private Long IsSelf;

    public void setId(Long Id) 
    {
        this.Id = Id;
    }

    public Long getId() 
    {
        return Id;
    }
    public void setDeviceNum(String DeviceNum) 
    {
        this.DeviceNum = DeviceNum;
    }

    public String getDeviceNum() 
    {
        return DeviceNum;
    }
    public void setDeviceName(String DeviceName) 
    {
        this.DeviceName = DeviceName;
    }

    public String getDeviceName() 
    {
        return DeviceName;
    }
    public void setSimCode(String SimCode) 
    {
        this.SimCode = SimCode;
    }

    public String getSimCode() 
    {
        return SimCode;
    }
    public void setSensorCount(Long SensorCount) 
    {
        this.SensorCount = SensorCount;
    }

    public Long getSensorCount() 
    {
        return SensorCount;
    }
    public void setDisabled(Long Disabled) 
    {
        this.Disabled = Disabled;
    }

    public Long getDisabled() 
    {
        return Disabled;
    }
    public void setDistributorId(Long DistributorId) 
    {
        this.DistributorId = DistributorId;
    }

    public Long getDistributorId() 
    {
        return DistributorId;
    }
    public void setAgentId(Long AgentId) 
    {
        this.AgentId = AgentId;
    }

    public Long getAgentId() 
    {
        return AgentId;
    }
    public void setAddDatetime(Date AddDatetime) 
    {
        this.AddDatetime = AddDatetime;
    }

    public Date getAddDatetime() 
    {
        return AddDatetime;
    }
    public void setOverDatetime(Date OverDatetime) 
    {
        this.OverDatetime = OverDatetime;
    }

    public Date getOverDatetime() 
    {
        return OverDatetime;
    }
    public void setAnnualFee(BigDecimal AnnualFee) 
    {
        this.AnnualFee = AnnualFee;
    }

    public BigDecimal getAnnualFee() 
    {
        return AnnualFee;
    }
    public void setDeviceTypeId(Long DeviceTypeId) 
    {
        this.DeviceTypeId = DeviceTypeId;
    }

    public Long getDeviceTypeId() 
    {
        return DeviceTypeId;
    }
    public void setIsDeleted(String IsDeleted) 
    {
        this.IsDeleted = IsDeleted;
    }

    public String getIsDeleted() 
    {
        return IsDeleted;
    }
    public void setReplenishmentClerksId(Long ReplenishmentClerksId) 
    {
        this.ReplenishmentClerksId = ReplenishmentClerksId;
    }

    public Long getReplenishmentClerksId() 
    {
        return ReplenishmentClerksId;
    }
    public void setPartnersId(Long PartnersId) 
    {
        this.PartnersId = PartnersId;
    }

    public Long getPartnersId() 
    {
        return PartnersId;
    }
    public void setRenewalTime(Long RenewalTime) 
    {
        this.RenewalTime = RenewalTime;
    }

    public Long getRenewalTime() 
    {
        return RenewalTime;
    }
    public void setIsOnline(String IsOnline) 
    {
        this.IsOnline = IsOnline;
    }

    public String getIsOnline() 
    {
        return IsOnline;
    }
    public void setHeartBeatState(String HeartBeatState) 
    {
        this.HeartBeatState = HeartBeatState;
    }

    public String getHeartBeatState() 
    {
        return HeartBeatState;
    }
    public void setLastHeartBeat(Date LastHeartBeat) 
    {
        this.LastHeartBeat = LastHeartBeat;
    }

    public Date getLastHeartBeat() 
    {
        return LastHeartBeat;
    }
    public void setShoppingCar(String ShoppingCar) 
    {
        this.ShoppingCar = ShoppingCar;
    }

    public String getShoppingCar() 
    {
        return ShoppingCar;
    }
    public void setOpenSignalMonitor(Integer OpenSignalMonitor) 
    {
        this.OpenSignalMonitor = OpenSignalMonitor;
    }

    public Integer getOpenSignalMonitor() 
    {
        return OpenSignalMonitor;
    }
    public void setHandOrdernum(String HandOrdernum) 
    {
        this.HandOrdernum = HandOrdernum;
    }

    public String getHandOrdernum() 
    {
        return HandOrdernum;
    }
    public void setAgentQueryTrade(String AgentQueryTrade) 
    {
        this.AgentQueryTrade = AgentQueryTrade;
    }

    public String getAgentQueryTrade() 
    {
        return AgentQueryTrade;
    }
    public void setIsSelf(Long IsSelf) 
    {
        this.IsSelf = IsSelf;
    }

    public Long getIsSelf() 
    {
        return IsSelf;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("DeviceNum", getDeviceNum())
            .append("DeviceName", getDeviceName())
            .append("SimCode", getSimCode())
            .append("SensorCount", getSensorCount())
            .append("Disabled", getDisabled())
            .append("DistributorId", getDistributorId())
            .append("AgentId", getAgentId())
            .append("AddDatetime", getAddDatetime())
            .append("OverDatetime", getOverDatetime())
            .append("AnnualFee", getAnnualFee())
            .append("DeviceTypeId", getDeviceTypeId())
            .append("IsDeleted", getIsDeleted())
            .append("ReplenishmentClerksId", getReplenishmentClerksId())
            .append("PartnersId", getPartnersId())
            .append("RenewalTime", getRenewalTime())
            .append("IsOnline", getIsOnline())
            .append("HeartBeatState", getHeartBeatState())
            .append("LastHeartBeat", getLastHeartBeat())
            .append("ShoppingCar", getShoppingCar())
            .append("OpenSignalMonitor", getOpenSignalMonitor())
            .append("HandOrdernum", getHandOrdernum())
            .append("AgentQueryTrade", getAgentQueryTrade())
            .append("IsSelf", getIsSelf())
            .toString();
    }
}
